package com.eiisan.user.service;

import java.util.concurrent.TimeUnit;

/**
 * @Description: RedisService
 * @Author gragonfly
 * @Date 2019/6/27
 **/
public interface RedisService {

    String getKey(String key);

    void deleteKey(String key);

    void setKey(String key, String value);

    void setKey(String key, String value, final long timeout, final TimeUnit unit);
}
